appSkeleton.directive('function',
    function ($templateCache, $rootScope) {
        $rootScope.device = 'desktop';
        return {
            //parameters
            restrict: 'AE',
            replace: true,
            template: $templateCache.get("skeleton-display-and-manage-tpl.html"),

            controller: function ($scope, $element, $location) {
                $scope.changeFunctionB = function () {

                        $location.path("/function_b");


                }
            },


            //data binding
            scope: {}

        };
    });
